// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

import vueAxios from 'vue-axios'
import axios from 'axios'

Vue.use(vueAxios, axios)
Vue.config.productionTip = false
import head from './components/head.vue'
Vue.component('my-head', head)
// vuex
import store from './store';

import './assets/icon'
// mint-ui
import Mint from 'mint-ui';
Vue.use(Mint);
import { Popup } from 'mint-ui';
import { Tabbar, TabItem } from 'mint-ui';
Vue.component(Tabbar.name, Tabbar);
Vue.component(TabItem.name, TabItem);
Vue.component(Popup.name, Popup);
import { TabContainer, TabContainerItem } from 'mint-ui';

Vue.component(TabContainer.name, TabContainer);
Vue.component(TabContainerItem.name, TabContainerItem);
import 'mint-ui/lib/style.css'
import { Navbar } from 'mint-ui';

Vue.component(Navbar.name, Navbar);

import { Swipe, SwipeItem } from 'mint-ui';

Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);







/* eslint-disable no-new */
new Vue({
  el: '#app',
  store,
  router,
  components: { App },
  template: '<App/>'
})
